/*    */ package com.infoservice.schedule.test;
/*    */ 
/*    */ import org.apache.log4j.Logger;
/*    */ 
/*    */ public class ExecuteThread extends Thread
/*    */ {
/* 24 */   private Logger logger = Logger.getLogger(ExecuteThread.class.getCanonicalName());
/*    */ 
/* 26 */   public ExecuteThread(ThreadGroup group, String name) { super(group, name); }
/*    */ 
/*    */   public ExecuteThread(String name) {
/* 29 */     super(name);
/*    */   }
/*    */   public void run() {
/*    */     while (true) {
/* 33 */       this.logger.debug("ExecuteThread running");
/* 34 */       this.logger.debug("TaskLoadThread.getInstance()==" + TaskLoadThread.getInstance().toString());
/* 35 */       Integer item = TaskLoadThread.getInstance().getQueueItem();
/* 36 */       if (item == null) {
/* 37 */         this.logger.warn("item is null");
/*    */         try {
/* 39 */           synchronized (this) {
/* 40 */             sleep(10000L);
/*    */           }
/*    */         }
/*    */         catch (InterruptedException e) {
/* 44 */           e.printStackTrace();
/*    */         }
/*    */       }
/* 47 */       this.logger.info("item========" + item);
/*    */     }
/*    */   }
/*    */ }

/* Location:           D:\Workspace\Work\ASMP_DE\lib\frame3\InfoSchedule_1.0.03.jar
 * Qualified Name:     com.infoservice.schedule.test.ExecuteThread
 * JD-Core Version:    0.6.0
 */